package com.abloz.auth.service.feign;

import com.abloz.auth.service.feign.fallback.AuthServiceFallBackImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(value = "admin",fallback = AuthServiceFallBackImpl.class)
public interface AuthService {

    @GetMapping("/hello/{name}")
    public String hello(@PathVariable(name = "name") String name);
}
